package exercise.exer3;

public class InstanceTest {

    public static void main(String[] args){

         InstanceTest test = new InstanceTest();
         test.method(new Student());

    }
    public void method(Person e){

        System.out.println(e.getInfo());

    }
}
